package impl;

import candySystemNamespace.CandyWorld.TransSpecie;
import candySystemNamespace.Robot;

public class TransSpecieImpl extends TransSpecie {
	
	private Robot robot;
	
	private int x = 0;
	private int y = 0;
	
	public TransSpecieImpl(int x, int y) {
		this.x = x;
		this.y = y;
	}

	@Override
	protected Robot make_robot() {
		if (robot == null)
			robot = new RobotImpl(x, y);
		
		return robot;
	}
}
